package com.ruoyi.worker.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * @ClassName Company
 * @Description
 * @Author leizhang
 * Date 2021/8/25 12:20 上午
 * @Version 1.0
 **/
public class Company extends BaseEntity {
    @Excel(name = "渠道编号")
    private int id;
    @Excel(name = "渠道")
    private String company;
    @Excel(name = "联系人")
    private String contact;
    @Excel(name = "联系人手机号码")
    private String contactPhone;
    @Excel(name = "状态",readConverterExp = "1=启用,2=禁用")
    private int status;
    @Excel(name = "渠道商招聘比例")
    private Double recruitPercent;

    private String companyName;
    /**
     * 白班价格
     */
    private BigDecimal dayPrice;
    /**
     * 夜班价格
     */
    private BigDecimal nightPrice;
    /**
     * 渠道商价格是否启用(0:启用,2,未启用)
     */
    private Integer priceStatus;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Double getRecruitPercent() {
        return recruitPercent;
    }

    public void setRecruitPercent(Double recruitPercent) {
        this.recruitPercent = recruitPercent;
    }

    public BigDecimal getDayPrice() {
        return dayPrice;
    }

    public void setDayPrice(BigDecimal dayPrice) {
        this.dayPrice = dayPrice;
    }

    public BigDecimal getNightPrice() {
        return nightPrice;
    }

    public void setNightPrice(BigDecimal nightPrice) {
        this.nightPrice = nightPrice;
    }

    public Integer getPriceStatus() {
        return priceStatus;
    }

    public void setPriceStatus(Integer priceStatus) {
        this.priceStatus = priceStatus;
    }

    @Override
    public String toString() {
        return "Company{" +
                "id=" + id +
                ", company='" + company + '\'' +
                ", contact='" + contact + '\'' +
                ", contactPhone='" + contactPhone + '\'' +
                ", status=" + status +
                ", recruitPercent=" + recruitPercent +
                ", companyName='" + companyName + '\'' +
                ", dayPrice='" + dayPrice + '\'' +
                ", nightPrice='" + nightPrice + '\'' +
                ", priceStatus='" + priceStatus + '\'' +
                '}';
    }
}
